
package com.market.web.action;

import java.util.List;

import com.market.bean.Supplier;
import com.market.web.form.SupplierForm;
import com.market.web.utils.ListUtils;

public class AdminSupListAction extends BaseAction2
{
    public String execute() throws Exception
    {
        List list = getSupplierService().getSupplier();
        getRequest().setAttribute("supplier", ListUtils.convert(list, Supplier.class, SupplierForm.class));
        return SUCCESS;//mapping.findForward("suplist");
    }
}
